package com.bwie.common.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName MyQueue
 * @Description 描述
 * @Author HaiDa Wang
 * @Date 2025/2/12 14:15
 */
@Configuration
class MyQueue {
    @Bean
    public Queue createQueue(){
        return new Queue("myQueue",true);
    }
}
